/**
 * Copyright (c) 2015-2017, Henry Yang 杨勇 (gismail@foxmail.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.mapfinal.server.layer.model;

import com.jfinal.plugin.activerecord.IBean;

import com.lambkit.common.model.LambkitModel;

/**
 * @author yangyong 
 * @website: www.lambkit.com
 * @email: gismail@foxmail.com
 * @date 2022-03-24
 * @version 1.0
 * @since 1.0
 */
@SuppressWarnings("serial")
public abstract class MfLayerBase<M extends MfLayerBase<M>> extends LambkitModel<M> implements IBean {

	public String getTableName() {
		return "mf_layer";
	}
	
	@Override
	public Class<?> _getPrimaryType() {
		// sqlite 会导致 JFinal 中 getPrimaryType 获取到的都是 String 类型
		return java.lang.Integer.class;
	}

	public java.lang.Integer getId() {
		return this.get("id");
	}

	public void setId(java.lang.Integer id) {
		this.set("id", id);
	}
	public java.lang.String getName() {
		return this.get("name");
	}

	public void setName(java.lang.String name) {
		this.set("name", name);
	}
	public java.lang.String getWorkspace() {
		return this.get("workspace");
	}

	public void setWorkspace(java.lang.String workspace) {
		this.set("workspace", workspace);
	}
	public java.lang.Integer getStoreid() {
		return this.get("storeid");
	}

	public void setStoreid(java.lang.Integer storeid) {
		this.set("storeid", storeid);
	}
	public java.lang.Integer getSrid() {
		return this.get("srid");
	}

	public void setSrid(java.lang.Integer srid) {
		this.set("srid", srid);
	}
	public java.lang.Double getXmin() {
		return this.get("xmin");
	}

	public void setXmin(java.lang.Double xmin) {
		this.set("xmin", xmin);
	}
	public java.lang.Double getXmax() {
		return this.get("xmax");
	}

	public void setXmax(java.lang.Double xmax) {
		this.set("xmax", xmax);
	}
	public java.lang.Double getYmin() {
		return this.get("ymin");
	}

	public void setYmin(java.lang.Double ymin) {
		this.set("ymin", ymin);
	}
	public java.lang.Double getYmax() {
		return this.get("ymax");
	}

	public void setYmax(java.lang.Double ymax) {
		this.set("ymax", ymax);
	}
	public java.lang.String getStyle() {
		return this.get("style");
	}

	public void setStyle(java.lang.String style) {
		this.set("style", style);
	}
	public java.lang.String getTitle() {
		return this.get("title");
	}

	public void setTitle(java.lang.String title) {
		this.set("title", title);
	}
	public java.lang.String getSummary() {
		return this.get("summary");
	}

	public void setSummary(java.lang.String summary) {
		this.set("summary", summary);
	}
	public java.lang.String getSourcename() {
		return this.get("sourcename");
	}

	public void setSourcename(java.lang.String sourcename) {
		this.set("sourcename", sourcename);
	}
	public java.lang.Integer getStatus() {
		return this.get("status");
	}

	public void setStatus(java.lang.Integer status) {
		this.set("status", status);
	}
	public java.lang.String getGeotype() {
		return this.get("geotype");
	}

	public void setGeotype(java.lang.String geotype) {
		this.set("geotype", geotype);
	}
	public java.lang.Integer getLayertype() {
		return this.get("layertype");
	}

	public void setLayertype(java.lang.Integer layertype) {
		this.set("layertype", layertype);
	}
}
